package eric.mpab.core;

import java.util.Set;

public class Account {
	public final static char CREDIT = 'D';
	public final static char DEBIT = 'C';

	private long id;
	private char dc;
	private String name;
	private String description;

	private Account parent;
	private Set<Account> children;

	public Set<Account> getChildren() {
		return children;
	}
	public void setChildren(Set<Account> children) {
		this.children = children;
	}
	public char getDc() {
		return dc;
	}
	public void setDc(char dc) {
		this.dc = dc;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public long getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Account getParent() {
		return parent;
	}
	public void setParent(Account parent) {
		this.parent = parent;
	}
}
